package com.example.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yanglup
 * @create 2020-11-18 22:07
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Goodsadd {
    private Integer cat_id;
    private String goods_name;
    private Integer goods_price;
    private Integer goods_number;
    private String school;
    //新旧程度
    private String goods_oldnew;
    //描述
    private String goods_described;
//后期写图片将8080和img/图片名字拼接
    private String goods_small_logo;
    private String goods_small_logo2;
    private String goods_small_logo3;

    private Integer cat_one_id;
    private Integer cat_two_id;
    //订单编号
    private String goods_serial;
    //发货状态  发布者id  发布时间
    private String openid;
    //传入0如果确认收获了就变为0了数据库里
    private Integer status;

//后期订单修改时间戳
//    public String getGoods_serial() {
//        String goods_serial=System.currentTimeMillis()+"123";//时间戳
//        return goods_serial;
//    }
//    public void setGoods_serial(String goods_serial) {
//        this.goods_serial = goods_serial;
//    }

}
